/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const router = {
    path: '/store',
    component: Layout,
    name: 'store',
    alwaysShow: true,
    meta: {
        title: '库存管理',
        icon: 'store'
    },
    children: [
        {
            path: '/store/outin',
            component: () => import('@/views/store/outin/outinlist'),
            name: 'outinlist',
            meta: {
                title: '出入库记录'
            },

        },
        {
            path: '/store/query',
            component: () => import('@/views/store/query/querylist'),
            name: 'querylist',
            meta: {
                title: '库存查询'
            },

        }, {
            path: '/store/other/outStock',
            component: () => import('@/views/store/other/outStock/outStockList'),
            name: 'outStockList',
            meta: {
                title: '其他出库'
            },

        }, {
            path: '/store/other/outStock/detail',
            component: () => import('@/views/store/other/outStock/detail'),
            name: 'otherOutDetail',
            meta: {
                title: '其他出库明细'
            },
            hidden: true
        },
        {
            path: '/store/other/inStock',
            component: () => import('@/views/store/other/inStock/inStockList'),
            name: 'inStockList',
            meta: {
                title: '其他入库'
            },

        }, {
            path: '/store/other/inStock/detail',
            component: () => import('@/views/store/other/inStock/detail'),
            name: 'otherInDetail',
            meta: {
                title: '其他入库明细'
            },
            hidden: true
        }, {
            path: '/store/shelves',
            component: () => import('@/views/store/shelves/shelves'),
            name: 'shelves',
            meta: {
                title: '货架管理'
            },
        }, {
            path: '/store/shelves/detail',
            component: () => import('@/views/store/shelves/detail'),
            name: 'shelvesDetail',
            meta: {
                title: '货架详情'
            },
            hidden: true
        }, {
            path: '/store/split',
            component: () => import('@/views/store/split/splitlist'),
            name: 'splitlist',
            meta: {
                title: '商品拆分'
            },

        }, {
            path: '/store/split/detail',
            component: () => import('@/views/store/split/detail'),
            name: 'splitdetail',
            meta: {
                title: '商品拆分明细'
            },
            hidden: true
        }, {
            path: '/store/combine',
            component: () => import('@/views/store/combine/combinelist'),
            name: 'combinelist',
            meta: {
                title: '商品组合'
            },

        }, {
            path: '/store/combine/detail',
            component: () => import('@/views/store/combine/detail'),
            name: 'combinedetail',
            meta: {
                title: '商品组合明细'
            },
            hidden: true
        }, {
            path: '/store/takestock',
            component: () => import('@/views/store/takestock/takestocklist'),
            name: 'takestocklist',
            meta: {
                title: '库存盘点'
            },

        }, {
            path: '/store/takestock/detail',
            component: () => import('@/views/store/takestock/detail'),
            name: 'takestockdetail',
            meta: {
                title: '库存盘点明细'
            },
            hidden: true
        }, {
            path: '/store/dealwith',
            component: () => import('@/views/store/dealwith/dealwithlist'),
            name: 'dealwithlist',
            meta: {
                title: '盘点盈亏处理'
            },

        }, {
            path: '/store/dealwith/detail',
            component: () => import('@/views/store/dealwith/detail'),
            name: 'dealwithdetail',
            meta: {
                title: '盘点盈亏处理明细'
            },
            hidden: true
        },
        {
            path: '/store/humiture',
            component: () => import('@/views/store/humiture/humiturelist'),
            name: 'humiturelist',
            meta: {
                title: '温湿度监控记录'
            },

        },
        {
            path: '/store/humiture/detail',
            component: () => import('@/views/store/humiture/detail'),
            name: 'humitureDetail',
            meta: {
                title: '新增温湿度监控记录'
            },
            hidden: true
        },



    ]
}

export default router
